import Layout from '@/layout'
export default [
  {
    path: '/mainData',
    component: Layout,
    name: 'mainData',
    redirect: 'sysCode',
    meta: {
      title: '主数据管理',
      icon: 'table'
    },
    children: [
      {
        path: 'sysCode',
        component: () => import('@/views/sysCode/index.vue'),
        name: 'SysCode',
        meta: {
          title: '系统编码',
          icon: 'example'
        }
      },
      {
        path: 'valueSet',
        component: () => import('@/views/value-set/index'),
        name: 'ValueSet',
        meta: {
          title: '值集代码',
          icon: 'example'
        }
      },
      {
        path: 'productSpecification',
        component: () => import('@/views/productSpecification/index'),
        name: 'ProductSpecification',
        meta: {
          title: '产品规范基本信息',
          icon: 'example'
        }
      },
      {
        path: 'merchantsInfo',
        component: () => import('@/views/merchantsInfo/index'),
        name: 'merchantsInfo',
        meta: {
          title: '客商基本信息',
          icon: 'example'
        }
      }
    ]
  }
]
